<?php
namespace App\Error\Kms;

use App\Error\BaseError;

/**
* @datetime  2023-09-07 16:24:02
* @author      system
* @project    KMS
* @projectDesc    运营管理
* @module      KMS_TASK
* @moduleDesc      kms-任务模块
*/
class KmsTaskError extends BaseError
{

    /**
    * @var    array
    * @cnMessage    暂无权限操作当前任务节点
    * @enMessage    
    */
    const  HAVE_NO_PERMISSION_TO_OPERATE_THE_CURRENT_TASK_NODE = [
        "code"  => 100003002,
        "cn"    => "暂无权限操作当前任务节点",
        "en"    => ""
    ];

    /**
    * @var    array
    * @cnMessage    存在未配置督导的门店
    * @enMessage    
    */
    const  SHOP_HAS_NO_SUPERVISOR = [
        "code"  => 100003007,
        "cn"    => "存在未配置督导的门店",
        "en"    => ""
    ];

    /**
    * @var    array
    * @cnMessage    门店开店订单查询失败
    * @enMessage    
    */
    const  SHOP_SEARCH_OPEN_SHOP_ORDER_FAIL = [
        "code"  => 100003006,
        "cn"    => "门店开店订单查询失败",
        "en"    => ""
    ];

    /**
    * @var    array
    * @cnMessage    当前任务节点操作非法
    * @enMessage    
    */
    const  THE_OPERATION_ON_THE_CURRENT_TASK_NODE_IS_INVALID = [
        "code"  => 100003001,
        "cn"    => "当前任务节点操作非法",
        "en"    => ""
    ];

    /**
    * @var    array
    * @cnMessage    用户没有访问该省区的权限
    * @enMessage    
    */
    const  USER_HAS_NO_AUTH_ACCESS_PROVINCE = [
        "code"  => 100003005,
        "cn"    => "用户没有访问该省区的权限",
        "en"    => ""
    ];

    /**
    * @var    array
    * @cnMessage    当前用户角色暂不支持创建日常任务
    * @enMessage    
    */
    const  USER_ROLE_CAN_NOT_CREATE_DAILY_TASK = [
        "code"  => 100003003,
        "cn"    => "当前用户角色暂不支持创建日常任务",
        "en"    => ""
    ];

    /**
    * @var    array
    * @cnMessage    当前用户角色没有访问权限
    * @enMessage    
    */
    const  USER_ROLE_HAS_NO_ACCESS_AUTHORITY = [
        "code"  => 100003004,
        "cn"    => "当前用户角色没有访问权限",
        "en"    => ""
    ];



}
